Refactor multi ruleset design#56
Merged
Merged
Conversation
botingw
commented
Sep 13, 2025
Owner
- support add pack from built-in, community pack contribution, github pack, local pack
- support add and use multiple rule packs
- design pack contribution workflow
- develop pack create and publish helper pack
…eset_plan.md-design docs: expand sync conflict resolution
…ementation-plan docs: update CLI spec and implementation design for composable packs
This commit makes two corrections to the documentation to more accurately reflect the current behavior of the rule generation system. 1. **Updates `platform_rules_spec.md`**: Removes the ambiguous "Composition" section and replaces it with a clearer "Conflict Resolution" section. This clarifies that when packs have conflicting rule files, the "first pack wins" based on its order in `selection.json`. 2. **Updates `support_flexible_ruleset_plan.md`**: Removes a misleading sentence that referred to generating "combined rule files," which is not how the system currently works.
docs: Create TDD plan and refactor feature documentation for manage_rules CLI
…starters, tool_starters into packs)
This commit addresses user feedback on the initial implementation of Phase 2 of the 'Composable Packs' refactoring. Key changes include: - A new constant, `TARGET_INTERNAL_STATE_DIR`, has been introduced for the `.rulebook-ai` directory and is used throughout the codebase for consistency. - The logic that explicitly created `memory/` and `tools/` directories with a `.gitkeep` file has been removed. These directories will now only be created if a pack contains starter files for them, which aligns with the behavior of the previous version. - The integration tests have been updated to reflect these changes.
feat: Implement Composable Packs Refactoring (Phases 1 & 2)
…sts-for-cli-command feat: add sync and cleaning commands
…-plans docs: refine manage-rules spec and planning for multi-packs UX improve
…oved-user-experience ## Summary - follow task_plan.md and TDD_plan.md and implementation_update_plan.md to refactor - implement packs, profile, project command categories - update unit/integration tests
…c-concerns docs: clarify community pack resolution and add planning docs
…n-documents feat: install and list community packs
…ucture-requirements Add pack structure specification and authoring guide pack
…cks no error, no pack structure validation for local pack
…error-in-rulebook-ai test: ensure community_packs module import
…rror-for-assistant-flag feat: add assistant selection flag
…spec-pack docs: move memory/workflow guidance to light-spec pack and document pack usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.